import * as child_process from "node:child_process";

export default {
  path: "/supplier",
  redirect: "/supplier/list",
  meta: {
    icon: "ri:information-line",
    // showLink: false,
    title: "供应商管理",
    rank: 11
  },
  children: [

    {
      path: "/supplier/list",
      name: "supplierList",
      component: () => import("@/views/supplier/Index.vue"),
      meta: {
        title: "供应商列表",
        roles: ["admin"],
        showParent: true
      },
    },

    {
      path: "/supplier/add",
      name: "supplierAdd",
      component: () => import("@/views/supplier/AddSupplier.vue"),
      meta: {
        title: "添加列表",
        roles: ["admin"],
        showParent: true,
        showLink: false
      }
    },
    {
      path: "/supplier/edit",
      name: "supplierEdit",
      component: () => import("@/views/supplier/EditSupplier.vue"),
      meta: {
        title: "编辑列表",
        roles: ["admin"],
        showParent: true,
        showLink: false
      }
    }
  ]
} satisfies RouteConfigsTable;
